
void logConfiguration()
{
	static const char* ENGINE_NAME = "Poget";
	static const char* ENGINE_VERSION = "1.0";

	std::string options;
	gConfig.getConfigureOptions(options);

	std::string message;
	message = "Initialization Complete\n";
	message += ENGINE_NAME;
	message += " Version ";
	message += ENGINE_VERSION;
	message += "\nConfiguration Options\n";
	message += options;
	gLog(message.c_str());
}

bool initiator(Game* game, const char* configurationFile)
{
	bool initStatus = true;

	return game->initialize(NULL, configurationFile);
}

bool terminator(Game* game)
{
	return game->shutdown();
}

bool starting(Game* game, const char* configurationFile)
{
	bool result = initiator(game, configurationFile);
	if (result)
		logConfiguration();
	return result;
}

void ending(Game* game)
{
	EXPECT_TRUE(terminator(game));
}

bool initGame(Game& game)
{
	const char* CONFIGURATION_FILE_1 = "ManagementFiles\\physicalmemory.txt";
	return starting(&game, CONFIGURATION_FILE_1);
}
